From: Jason Rumney Date: Sat, 10 Apr 2004 21:05:50 +0000 (+0000) Subject: (WinMain): Let emacs environment default to parent. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~23303 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e647ffe80e270d75956ca21f36dd1daa35dded31;p=emacs.git (WinMain): Let emacs environment default to parent. --- diff --git a/nt/runemacs.c b/nt/runemacs.c index cdd46a6008d..afa5340ef53 100644 --- a/nt/runemacs.c +++ b/nt/runemacs.c @@ -126,7 +126,7 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow) sec_attrs.bInheritHandle = FALSE; if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class, - GetEnvironmentStrings (), NULL, &start, &child)) + NULL, NULL, &start, &child)) { if (wait_for_child) {